Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Misc] Move Revival Blessing func from PlayerPokemon to the move's attr #4838

Open
wants to merge 2 commits into
base: beta
Choose a base branch
from

Conversation

DayKev
Copy link
Collaborator

@DayKev DayKev commented Nov 10, 2024

What are the changes the user will see?

N/A

Why am I making these changes?

A move shouldn't be adding arbitrary methods to the Pokemon classes.

What are the changes from a developer perspective?

Removed revivalBlessing() method from the PlayerPokemon class and moved its functionality to Revival Blessing's move attr.
Removed an unused parameter from RevivalBlessingAttr's constructor.
Updated some tsdocs.
Added tests for Revival Blessing.

How to test the changes?

npm run test revival_blessing

Checklist

  • I'm using beta as my base branch
  • There is no overlap with another PR?
  • The PR is self-contained and cannot be split into smaller PRs?
  • Have I provided a clear explanation of the changes?
  • Have I considered writing automated tests for the issue?
  • [ ] If I have text, did I make it translatable and add a key in the English locale file(s)?
  • [ ] Have I tested the changes (manually)?
    • Are all unit tests still passing? (npm run test)
  • [ ] Are the changes visual?
    • [ ] Have I provided screenshots/videos of the changes?

@DayKev DayKev added Move Affects a move Tests Automated tests related Refactor Rewriting existing code related labels Nov 10, 2024
@DayKev DayKev requested a review from a team as a code owner November 10, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Move Affects a move Refactor Rewriting existing code related Tests Automated tests related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant